#ifndef FUNCTIONEDITORWIDGET_H
#define FUNCTIONEDITORWIDGET_H

#include <QWidget>
#include <QTreeView>
#include <QStackedWidget>
#include <QPushButton>

class FunctionEdit;
class FunctionsModel;
class FunctionEditorWidget : public QWidget
{
public:
    FunctionEditorWidget(FunctionsModel *model,QWidget *parent=0);
    FunctionEdit * getFunctionEdit(){return funced;}
    QTreeView * getFuncsView(){return funcsView;}
    QPushButton * getOk(){return okButon;}
    QPushButton * getDeleteButton(){return deleteButton;}
    QStackedWidget * getStackedWidget(){return stackedWidget;}

private:
    QTreeView *funcsView;
    QStackedWidget *stackedWidget;
    FunctionEdit * funced;
    QPushButton * okButon;
    QPushButton * deleteButton;

};

#endif // FUNCTIONEDITORWIDGET_H
